import pandas as pd



df = pd.read_excel(rf'D:\Desktop\mynewlearn\pandas.xlsx')
df.set_index('项目名称（勿修改）')
index = df.index
print(index)
# print(df.head(2))
print('======================')

